//
//  PMSlideJoint.h
//  PezMonkey
//
//  Created by Spence DiNicolantonio on 10/31/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "PMCore.h"
#import "PMJoint.h"


@interface PMSlideJoint : PMJoint {

}


#pragma mark -
#pragma mark Init
- (id)initWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody minLimit:(PMFloat)min maxLimit:(PMFloat)max;
- (id)initWithAnchor:(PMAnchor)anchorA onBodyA:(PMBody *)aBody anchor:(PMAnchor)anchorB onBodyB:(PMBody *)otherBody minLimit:(PMFloat)min maxLimit:(PMFloat)max; 


#pragma mark -
#pragma mark Getters
- (PMAnchor)anchorA;
- (PMAnchor)anchorB;
- (PMAnchor)anchorForBodyWithKey:(PMJointBodyKey)bodyKey;
- (PMFloat)minLimit;
- (PMFloat)maxLimit;


#pragma mark -
#pragma mark Setters
- (void)setAnchorA:(PMAnchor)anchor;
- (void)setAnchorB:(PMAnchor)anchor;
- (void)setAnchor:(PMAnchor)anchor ForBodyWithKey:(PMJointBodyKey)bodyKey;
- (void)setMinLimit:(PMFloat)limit;
- (void)setMaxLimit:(PMFloat)limit;


@end
